//
//  HZBaseLogjcManager.h
//  Stock_Stategy
//
//  Created by MayerF on 2017/5/25.
//  Copyright © 2017年 MayerF. All rights reserved.
//
//  *************** 负责当前控制器中所有的自定义视图的逻辑操作

#import <Foundation/Foundation.h>

typedef id (^LogicRouterBlock)(NSDictionary *params, id other);

@interface HZBaseLogjcManager : NSObject
//注册block
- (void)mapLogic:(NSString *)route toBlock:(LogicRouterBlock)block;
//匹配block
- (LogicRouterBlock)matchLogicBlock:(NSString *)route;
@end


@interface UIView (LogicManager)
@property (nonatomic, weak)HZBaseLogjcManager *logicManager;
@end
